package city.spring.modules.ext.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 关联关系： food_id - people_type
 *
 * @author yzh
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("food_disease_ext")
public class FoodDiseaseExt implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String foodInfoId;
    private String diseaseId;
    private int forbiddenOrRecommend;

}
